package cn.itcalvin.tk;

import org.apache.ibatis.annotations.InsertProvider;

import java.util.List;

@tk.mybatis.mapper.annotation.RegisterMapper
public interface InsertListExtMapper<T> {
    /**
     * 批量插入全部字段，包括主键
     * @param recordList 数据列表
     * @return
     */
    @InsertProvider(type = SpecialSqlExtProvider.class, method = "dynamicSQL")
    int insertListAllFiled(List<? extends T> recordList);
}